package org.neuedu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 *
 * </p>
 *
 * @author lzw
 * @since 2024-11-07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("regist_level")
public class RegistLevel implements Serializable {

    private static final long serialVersionUID = 1L;

    public RegistLevel(Long id, String registCode, String registName, Integer registFee, Integer registQuota, Integer sequenceNo) {
        this.id = id;
        this.registCode = registCode;
        this.registName = registName;
        this.registFee = registFee;
        this.registQuota = registQuota;
        this.sequenceNo = sequenceNo;
    }

    public RegistLevel(Long id, Boolean delmark) {
        this.id = id;
        this.delmark = delmark;
    }

    public RegistLevel(String registCode, String registName, Integer registFee, Integer registQuota, Integer sequenceNo) {
        this.registCode = registCode;
        this.registName = registName;
        this.registFee = registFee;
        this.registQuota = registQuota;
        this.sequenceNo = sequenceNo;
    }

    /**
     * ID主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 号别编码
     */
    private String registCode;

    /**
     * 号别名称
     */
    private String registName;

    /**
     * 挂号费
     */
    private Integer registFee;

    /**
     * 挂号限额
     */
    private Integer registQuota;

    /**
     * 显示顺序号
     */
    private Integer sequenceNo;

    /**
     * 删除标记
     */
    private Boolean delmark;

}
